package pratima.inheritance;

public class Parent {
	
	protected String name;
	public String id;
	
	public Parent(String name) {
		this.name = name;
		System.out.println("Hello from Parent : " + name);
	}
	
	public Parent(String name, String Id) {
		
	}
	
	protected String getName() {
		return name;
	}
}
